package com.bdqn.boot.yuanshen.service;

import com.bdqn.boot.yuanshen.bean.Videos;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author Hasee
 * @version 1.0
 * @className VideosService
 * @description TODD
 * @date 2025/3/17 10:31
 */
public interface VideosService {
    PageInfo<Videos> getVideosPage(int pageNum, int pageSize);

    List<Videos> getVideos();
    void addVideos(Videos videos);

    void deleteVideos(int id);

    void updateVideos(Videos videos);

    Videos getVideosId(Integer id);

    List<Videos> getVideosByUserId(Integer userId);
}
